#ifndef __FUNC__
#define __FUNC__

#include <thread>


class Func
{
public:
	int varToUse;

	Func()
	{

	}

	Func(int _varToUse)
	{
		varToUse = _varToUse;
	}

	void operator ()()
	{
		while (1==1)
			std::cout << "we are using a local variable herrreee " << varToUse << std::endl;
	}

};

#endif // !__FUNC__
